package bancosys.tec.component;

import bancosys.tec.exception.AbstractException;
import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Exceção base para os componentes do bancosys-tec.
 * 
 * @author finx
 * @created Feb 19, 2008
 */
public abstract class AbstractComponentException extends AbstractException {

    /**
     * Construtor
     * 
     * @param messageHolder messageHolder
     */
    public AbstractComponentException(final LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }

    /**
     * Construtor
     * 
     * @param messageHolder messageHolder
     * @param cause cause
     */
    public AbstractComponentException(final LocalizedMessageHolder messageHolder, final Throwable cause) {
        super(messageHolder, cause);
    }

    /**
     * @param key key
     * @param arguments arguments
     */
    @Deprecated
    public AbstractComponentException(String key, Object... arguments) {
        super(key, arguments);
    }

    /**
     * @param key key
     * @param cause cause
     * @param arguments arguments
     */
    @Deprecated
    public AbstractComponentException(String key, Throwable cause, Object... arguments) {
        super(key, cause, arguments);
    }

}
